package io.github.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 删除的枚举类型
 *
 * @author haijun
 * @version 1.0.0
 * @email "1424132610@qq.com"
 * @date 2024.10.19 11:23
 * @since 1.0.0
 */
@AllArgsConstructor
@Getter
public enum Deleted implements SerializeEnum<Integer, String> {
    /**
     * Yes delete enum
     */
    NO(0, "未删除"),
    /**
     * No delete enum
     */
    YES(1, "删除");
    /**
     * value
     */
    private final Integer key;
    /**
     * Desc
     */
    private final String value;
}
